package com.ftg.learn.chapter17;

import org.junit.Assert;
import org.junit.Test;

/**
 * @author KangJx
 * @date 2021/8/4
 */
public class LearnMethodTest {

    @Test
    public void test1(){
        LearnMethod lm = new LearnMethod();
        int n = lm.sum(100);
        int m = lm.sum1(100);
        System.out.println(n);
        System.out.println(m);
        Assert.assertEquals(n,m);
    }

    @Test
    public void test2(){
        LearnMethod lm = new LearnMethod();
        lm.createFile();
    }

}
